import _ajax from '@/utils/http.js'
// 用户认证（登录注册）
function appV10Authorizations (data) {
  return _ajax({
    url: '/app/v1_0/authorizations',
    method: 'post',
    data
  })
}
// 获取用户个人资料
function appV10User (params) {
  return _ajax({
    url: '/app/v1_0/user',
    method: 'get',
    params,
    needToken: true
  })
}
export { appV10Authorizations, appV10User }
